<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;

class WarehouseController extends Controller
{
    /**
     * 库存
     */
    public function index()
    {
    	return view('admin.warehouse.index');
    }
    public function stockcontrol()
    {
    	return view('admin.warehouse.stockcontrol');
    }
    public function stockcontrolcom()
    {
    	return view('admin.warehouse.stockcontrolcom');
    }
    public function materialdetails()
    {
    	return view('admin.warehouse.materialdetails');
    }
    public function materialdetail(Request $req)
    {
        return view('admin/user/system',['title'=>'物资明细','component'=>'material','key1'=>'mid','val1'=>$req->input('id')]);
    }
    public function materiallist()
    {
    	return view('admin.warehouse.materiallist');
    }
    public function referweb()
    {
    	return view('admin.warehouse.referweb');
    }
    public function outbound()
    {
        return view('admin.warehouse.outbound');
    }
    public function outboundadd()
    {
        return view('admin.warehouse.outboundadd');
    }

    public function checkview()
    {
        return view('admin.warehouse.checkview');
    }
    
    public function checkaddview() 
    {
        return view('admin.warehouse.checkaddview');
    }
    public function repairview()
    {
        return view('admin.warehouse.repairview');
    }
    
    public function repairaddview() 
    {
        return view('admin.warehouse.repairaddview');
    }
    public function maintainview()
    {
        return view('admin.warehouse.maintainview');
    }
    
    public function maintainaddview() 
    {
        return view('admin.warehouse.maintainaddview');
    }

    public function orderlistdata() 
    {
        return view('admin.warehouse.orderlistdata');
    }
	
	public function checkEdit()
	{
		return view('admin.warehouse.checkEdit');
	}
	
	public function OutboundEdit()
	{
		return view('admin.warehouse.OutboundEdit');
	}
	
	public function returnIn()
	{
		return view('admin.warehouse.returnIn');
	}
	
	public function editReferweb()
	{
		return view('admin.warehouse.editReferweb');
	}
	public function outboundone()
	{
		return view('admin.warehouse.outboundone');
	}
	public function outboundtwo()
	{
		return view('admin.warehouse.outboundtwo');
	}
	public function outboundthree()
	{
		return view('admin.warehouse.outboundthree');
	}
	public function outboundfour()
	{
		return view('admin.warehouse.outboundfour');
	}
	
    
}
